package com.swd.order.service;

import com.swd.order.mapper.PlaceMapper;
import com.swd.order.model.Place;
import com.swd.order.model.PlaceExample;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class PlaceService {
    @Autowired
    private PlaceMapper placeMapper;


    public List<Place> queryAll(){
        return placeMapper.selectByExample(new PlaceExample());
    }
}
